/*
 * File:   INode.h
 * Author: Elevator
 *
 * Created on 12 Май 2013 г., 23:35
 */

#ifndef DETAIL_H
#define DETAIL_H

#include <string>
#include "Physics/Physics.h"
#include "Part.h"

class Detail : public Part
{
public:
	Detail( std::string id );
	virtual ~Detail();

	void SetBody( physics::IBody* body );
	physics::IBody* GetBody( ) const;

	virtual void PerformAction( const Action& action );

	virtual void Update( float dt );
	virtual void Draw( ) const;

private:
	physics::IBody* _body;
};

#endif	/* DETAIL_H */
